<link rel="stylesheet" href="/static/home/assets/css/demo.css">
<link rel="stylesheet" href="/static/home/assets/css/seastyle.css">
<!--悬浮搜索框-->
<div class="search">
    <div class="search-list">
        <div class="am-g am-g-fixed">
            <div class="am-u-sm-12 am-u-md-12">
                <div class="theme-popover">
                    <ol class="am-breadcrumb am-margin-buttom-0">
                        <li><a href="/" class="am-icon-home">首页</a></li>
                        <li class="am-active">电影资讯</li>
                    </ol>
                </div>
                <div class="search-content" style="min-height:1300px;">
                    <div class="sort">
                        <li {if condition="$sort eq 'add_time' or $sort eq ''"}class="first"{/if}><a {if condition="input('param.sort') == 'add_time-asc'"}href='{:url("@alists/add_time-desc")}' class="am-icon-arrow-up"{else/}href='{:url("@alists/add_time-asc")}' class="am-icon-arrow-down"{/if}title="时间"> 时间排序</a></li>
                        <li {if condition="$sort eq 'click'"}class="first"{/if}><a {if condition="input('param.sort') == 'click-asc'"}href='{:url("@alists/click-desc")}' class="am-icon-arrow-up"{else/}href='{:url("@alists/click-asc")}' class="am-icon-arrow-down"{/if}title="浏览量"> 浏览排序</a></li>
                    </div>
                    <div class="clear"></div>

                    <ul class="am-avg-sm-1 boxes">
                        {if condition="$data"}
                        {volist name="data" id="v"}
                        <li class="p8">
                            <a href="{:url('/article/'.$v.id)}" class='zhuzong'>
                                <div class="am-panel am-panel-default am-margin-bottom-0">
                                    <div class="am-panel-bd">
                                        <h3 class="am-list-item-hd am-text-primary">{$v.title}</h3>
                                        <p class='am-article-lead'>{$v.introduction}</p>
                                        <p class="am-margin-top-xs">
                                        <span class='am-icon-calendar'> {$v.publish_time|date="Y-m-d H:i:s",###}</span>　　
                                        <span class="am-icon-eye"> {$v.reading}人</span>
                                        </p>
                                    </div>
                                </div>
                            </a>
                        </li>
                        {/volist}
                        
                        {else/}
                        <li class="miss ptop_10">好遗憾  没有数据呢~</li>
                        {/if}
                    </ul>
                    <!--分页 -->
                    {$page}
                </div>
                <div class="search-side">
                    <div class="side-title">
                        <div data-am-widget="tabs" class="am-tabs am-tabs-default">
                            <ul class="am-tabs-nav am-cf">
                                <li class="am-active"><a href="[data-tab-panel-0]">今日排行</a></li>
                                <li class=""><a href="[data-tab-panel-1]">本周排行</a></li>
                                <li class=""><a href="[data-tab-panel-2]">本月排行</a></li>
                            </ul>
                            <div class="am-tabs-bd">
                                <div data-tab-panel-0 class="am-tab-panel am-active">
                                    {if condition="$ranking.ri"}
                                    {volist name="ranking.ri" id="v"}
                                    <li class="lis">
                                        <div class="i-pic check zhuzong"><span>{$key}.</span> <a href="{:url('/article/'.$v.id)}" class="am-text-primary">{$v.title}</a></div>
                                    </li>
                                    {/volist}
                                    {else/}
                                    <li>该类别今日没有更新呢~</li>
                                    {/if}
                                </div>
                                <div data-tab-panel-1 class="am-tab-panel ">
                                    {if condition="$ranking.zhou"}
                                    {volist name="ranking.zhou" id="v"}
                                    <li class="lis">
                                        <div class="i-pic check zhuzong"><span>{$key}.</span> <a href="{:url('/article/'.$v.id)}" class="am-text-primary">{$v.title}</a></div>
                                    </li>
                                    {/volist}
                                    {else/}
                                    <li>该类别本周没有更新呢~</li>
                                    {/if}
                                </div>
                                <div data-tab-panel-2 class="am-tab-panel ">
                                    {if condition="$ranking.yue"}
                                    {volist name="ranking.yue" id="v"}
                                    <li class="lis">
                                        <div class="i-pic check zhuzong"><span>{$key}.</span> <a href="{:url('/article/'.$v.id)}" class="am-text-primary">{$v.title}</a></div>
                                    </li>
                                    {/volist}
                                    {else/}
                                    <li>该类别本月没有更新呢~</li>
                                    {/if}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
                
            </div>
        </div>
    </div>

</div>
<script src="/static/home/assets/js/script.js"></script>

